home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FERROR(3) MINTLIB LIBRARY FUNCTIONS FERROR(3)
-
-
- N✓NA✓AM✓ME✓E
- ferror, feof, clearerr, fileno - stream status enquiries
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <stdio.h>
-
- int ferror(FILE *stream);
-
- int feof(FILE *stream);
-
- void clearerr(FILE *stream);
-
- int fileno(FILE *stream);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- ferror returns non-zero when an I/O error has previously
- occurred reading from or writing to the named stream, oth-
- erwise zero.
-
- feof returns non-zero when EOF has previously been
- detected reading the named input stream, otherwise zero.
-
- clearerr resets the error indicator and EOF indicator to
- zero on the named stream.
-
- fileno returns the integer file descriptor associated with
- the named stream.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- o✓op✓pe✓en✓n(✓(3✓3)✓),✓, f✓fo✓op✓pe✓en✓n(✓(3✓3)✓)
-
- N✓NO✓OT✓TE✓E
- All these functions are implemented as macros; they cannot
- be declared or redeclared.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-